package com.yndsoft.jc.model;

import com.yndsoft.jc.ui.memberpage.myorder.MemberAddress;

import java.io.Serializable;
import java.util.List;

/**
 * int                   id                     ID
 * int                   sid                    检测机构ID
 * int                   mid                    会员ID
 * int                   maid                   会员寄件地址ID
 * int                   num                    总数量
 * float                 fee                    运费
 * float                 productprice           产品金额
 * float                 totalprice             总金额=运费+产品金额
 * float                 payprice               支付金额
 * int                   state                  状态
 * string                codeno                 推荐码
 * int                   paytype                支付方式
 * string                createtime             创建时间
 * MemberAddress         memberaddress          会员寄件地址
 * List<OrderDet>        dets                   订单明细
 * (以下实体为获取信息时有数据，提交时不需)
 * Supplier              supplier               检测机构
 * Member                member                 会员
 */
public class Order implements Serializable {
    private static final long serialVersionUID = -7003456173940301694L;
    public Integer id;
    public String typename;
    public String facname;
    public String supname;
    public String title;
    public String state;
    public String name;
    public String createtime;
    public String paytime;
    public String receivername;
    public String receiverphone;
    public String receivermobile;
    public String receiverzip;
    public String receiverprovince;
    public String receivercity;
    public String receiverdistinct;
    public String receiveraddress;
    public String paytype;
    public Integer num;
    public Float fee;
    public Float totalprice;
    public Float payprice;
    public MemberAddress memberaddress;
    public String note;
    public List<OrderDet> dets;

    public Order() {
    }

    public MemberAddress getMemberaddress() {
        return memberaddress;
    }

    public void setMemberaddress(MemberAddress memberaddress) {
        this.memberaddress = memberaddress;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getFacname() {
        return facname;
    }

    public void setFacname(String facname) {
        this.facname = facname;
    }

    public String getSupname() {
        return supname;
    }

    public void setSupname(String supname) {
        this.supname = supname;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getPaytime() {
        return paytime;
    }

    public void setPaytime(String paytime) {
        this.paytime = paytime;
    }

    public String getReceivername() {
        return receivername;
    }

    public void setReceivername(String receivername) {
        this.receivername = receivername;
    }

    public String getReceiverphone() {
        return receiverphone;
    }

    public void setReceiverphone(String receiverphone) {
        this.receiverphone = receiverphone;
    }

    public String getReceivermobile() {
        return receivermobile;
    }

    public void setReceivermobile(String receivermobile) {
        this.receivermobile = receivermobile;
    }

    public String getReceiverzip() {
        return receiverzip;
    }

    public void setReceiverzip(String receiverzip) {
        this.receiverzip = receiverzip;
    }

    public String getReceiverprovince() {
        return receiverprovince;
    }

    public void setReceiverprovince(String receiverprovince) {
        this.receiverprovince = receiverprovince;
    }

    public String getReceivercity() {
        return receivercity;
    }

    public void setReceivercity(String receivercity) {
        this.receivercity = receivercity;
    }

    public String getReceiverdistinct() {
        return receiverdistinct;
    }

    public void setReceiverdistinct(String receiverdistinct) {
        this.receiverdistinct = receiverdistinct;
    }

    public String getReceiveraddress() {
        return receiveraddress;
    }

    public void setReceiveraddress(String receiveraddress) {
        this.receiveraddress = receiveraddress;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Float getFee() {
        return fee;
    }

    public void setFee(Float fee) {
        this.fee = fee;
    }

    public Float getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(Float totalprice) {
        this.totalprice = totalprice;
    }

    public Float getPayprice() {
        return payprice;
    }

    public void setPayprice(Float payprice) {
        this.payprice = payprice;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public List<OrderDet> getDets() {
        return dets;
    }

    public void setDets(List<OrderDet> dets) {
        this.dets = dets;
    }
}